<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    var Class=function(){
        var klass=function(){
            this.init.apply(this,arguments);
        };
        klass.prototype.init=function(){};
        return klass;
    };

    var Person=new Class();
    Person.prototype.init=function(name){
        this.name=name;
    };

    var person =new Person();
</script>
</body>
</html>